package com.middlegroup.payadmin.pojo.po;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.middlegroup.common.mybatisplus.BaseEntity;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author pc123
 * @since 2019-01-10
 */
@TableName("t_service_type")
@Data
public class ServiceType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 类型名称
     */
    private String name;

    /**
     * 服务编码
     */
    private String serviceCode;

    /**
     * 父类型id
     */
    @TableField("p_type")
    private String pType;
    /**
     * 是否禁用,默认禁用
     */
    private Integer enabled;
    @TableField("add_time")
    private Long addTime;
    @TableField("update_time")
    private Long updateTime;


}
